<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/util_file/common.jspf"%>
<style>
#admin_product {
	font: 12px/1.2 "돋움", dotum, bold;
}

th {
	background-color: #f1f1f1;
}
</style>
<script type="text/javascript">
	$(document).ready(function(){
		if ($("#checkAdmin").val() != 'admin') {
			$("#ModifyDIV").hide();
		}
		
		$("#BtnModify").click( function(){
			location.href="/jeons/admin/product/hard_insert?prono="+$("#prono").val();
		});
	});
</script>
<input id="checkAdmin" type="hidden" value="${sessionScope.u_id}"/>
<input id="prono" type="hidden" value="${data.prono}"/>
<div id="admin_product">
	<table border="0" width="650px">
		<tr>
			<td colspan="3" bgcolor="#000000" height="1"></td>
		</tr>
		<tr>
			<td rowspan="6" width="300"><img
				src="/jeons/upload/product/${img.b_filename}" /></td>
			<th align="center" height="20px">상품명</th>
			<td>${product}</td>
		</tr>
		<tr>
			<th height="30px">용도</th>
			<td>${data.multipurpose}</td>
		</tr>
		<tr>
			<th height="30px">용량</th>
			<td>${data.capacity}</td>
		</tr>
		<tr>
			<th height="30px">연결방식</th>
			<td>${data.chain}</td>
		</tr>
		<tr>
			<th height="30px">버퍼</th>
			<td>${data.buffer}</td>
		</tr>
		<tr>
			<th height="30px">회전수</th>
			<td>${data.turnover}</td>
		</tr>
		<tr>
			<td colspan="3" bgcolor="#000000" height="1"></td>
		</tr>
	</table>
<div align="right" id="ModifyDIV">
	<button type="button" id="BtnModify">수정</button>
</div>	
</div>
